﻿<p>
This example shows the filtering feature of Telerik ComboBox for ASP.NET MVC and Telerik AutoComplete for ASP.NET MVC with ajax binding.
</p>
<p>
    To enable filtering use the <code>Filterable</code> method:
</p>
<pre class="prettyprint">
&lt;%= Html.Telerik().ComboBox()
        .Name("ComboBox")
        <em>.Filterable()</em>
%&gt;
</pre>
<p>
    You can choose between "StartsWith" and "Contains" filter options.
</p>
<pre class="prettyprint">
&lt;%= Html.Telerik().ComboBox()
        .Name("ComboBox")
        .Filterable(filtering =>
        {
            <em>filtering.FilterMode(AutoCompleteFilterMode.StartsWith);</em>
        })
%&gt;
</pre>
<p>
    <em>When filtering is disabled <span class="cancellable">(default state)</span>,
    combobox will scroll to the first matched item and will highlight it.</em>
</p>
<p>
    <strong>Filtering feature of the autocomplete component cannot be disabled.</strong>
</p>